package com.authine.cloudpivot.ext.doman;

import com.authine.cloudpivot.engine.domain.BaseEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Objects;

/**
 * @Author: brookpeng
 * @Date: 2022/3/19 15:51
 */
@Entity
@Table(name = "iwrwy_kcqd", schema = "cloudpivot", catalog = "")
public class IwrwyKcqdEntity extends BaseEntity {
    public static final String TABLENAME = "task_instance";
//    private String id;
    private String name;
    private String creater;
    private String createdDeptId;
    private String owner;
    private String ownerDeptId;
    private Timestamp createdTime;
    private String modifier;
    private Timestamp modifiedTime;
    private String workflowInstanceId;
    private String sequenceNo;
    private String sequenceStatus;
    private String ownerDeptQueryCode;
    private BigDecimal version;
    private String courseName;
    private String category;
    private String classHour;
    private String cultivateObj;
    private String sbr;
    private BigDecimal num;
    private Timestamp sbsj;
    private BigDecimal djl;
    private String cultivateWay;
    private BigDecimal xzl;
    private String kczt;
    private String longText1639381733243;
    private String longText1639381871412;
    private String longText1639381934038;
    private String longText1639381938724;
    private String kcbh;
    private String kczkfr;
    private String xmb;
    private String kczkfrgh;
    private String kcsbtz;
    private String szdw;
    private String kkffw;
    private BigDecimal xxrc;
    private BigDecimal dzs;
    private Integer drsfxr;
    private Integer sfydz;
    private String kczkfrtxt;
    private BigDecimal sqkcrc;
    private Timestamp year;
    private String previewArea;
    private String tdcy;
    private String series;
    private String kcxl;
    private String modality;
    private String psnd;
    private String psjb;

//    @Override
//    @Id
//    @Column(name = "id", nullable = false, length = 36)
//    public String getId() {
//        return id;
//    }
//
//    @Override
//    public void setId(String id) {
//        this.id = id;
//    }

    @Override
    @Transient
    public String getTableName() {
        return TABLENAME;
    }

    @Basic
    @Column(name = "name", nullable = true, length = 200)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "creater", nullable = true, length = 200)
    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    @Basic
    @Column(name = "createdDeptId", nullable = true, length = 200)
    public String getCreatedDeptId() {
        return createdDeptId;
    }

    public void setCreatedDeptId(String createdDeptId) {
        this.createdDeptId = createdDeptId;
    }

    @Basic
    @Column(name = "owner", nullable = true, length = 200)
    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    @Basic
    @Column(name = "ownerDeptId", nullable = true, length = 200)
    public String getOwnerDeptId() {
        return ownerDeptId;
    }

    public void setOwnerDeptId(String ownerDeptId) {
        this.ownerDeptId = ownerDeptId;
    }

    @Basic
    @Column(name = "createdTime", nullable = true)
    public Timestamp getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Timestamp createdTime) {
        this.createdTime = createdTime;
    }

    @Basic
    @Column(name = "modifier", nullable = true, length = 200)
    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    @Basic
    @Column(name = "modifiedTime", nullable = true)
    public Timestamp getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Timestamp modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    @Basic
    @Column(name = "workflowInstanceId", nullable = true, length = 200)
    public String getWorkflowInstanceId() {
        return workflowInstanceId;
    }

    public void setWorkflowInstanceId(String workflowInstanceId) {
        this.workflowInstanceId = workflowInstanceId;
    }

    @Basic
    @Column(name = "sequenceNo", nullable = true, length = 200)
    public String getSequenceNo() {
        return sequenceNo;
    }

    public void setSequenceNo(String sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    @Basic
    @Column(name = "sequenceStatus", nullable = true, length = 200)
    public String getSequenceStatus() {
        return sequenceStatus;
    }

    public void setSequenceStatus(String sequenceStatus) {
        this.sequenceStatus = sequenceStatus;
    }

    @Basic
    @Column(name = "ownerDeptQueryCode", nullable = true, length = 255)
    public String getOwnerDeptQueryCode() {
        return ownerDeptQueryCode;
    }

    public void setOwnerDeptQueryCode(String ownerDeptQueryCode) {
        this.ownerDeptQueryCode = ownerDeptQueryCode;
    }

    @Basic
    @Column(name = "version", nullable = true, precision = 8)
    public BigDecimal getVersion() {
        return version;
    }

    public void setVersion(BigDecimal version) {
        this.version = version;
    }

    @Basic
    @Column(name = "courseName", nullable = true, length = 200)
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Basic
    @Column(name = "category", nullable = true, length = -1)
    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Basic
    @Column(name = "classHour", nullable = true, length = 200)
    public String getClassHour() {
        return classHour;
    }

    public void setClassHour(String classHour) {
        this.classHour = classHour;
    }

    @Basic
    @Column(name = "cultivateObj", nullable = true, length = 200)
    public String getCultivateObj() {
        return cultivateObj;
    }

    public void setCultivateObj(String cultivateObj) {
        this.cultivateObj = cultivateObj;
    }

    @Basic
    @Column(name = "sbr", nullable = true, length = -1)
    public String getSbr() {
        return sbr;
    }

    public void setSbr(String sbr) {
        this.sbr = sbr;
    }

    @Basic
    @Column(name = "num", nullable = true, precision = 8)
    public BigDecimal getNum() {
        return num;
    }

    public void setNum(BigDecimal num) {
        this.num = num;
    }

    @Basic
    @Column(name = "sbsj", nullable = true)
    public Timestamp getSbsj() {
        return sbsj;
    }

    public void setSbsj(Timestamp sbsj) {
        this.sbsj = sbsj;
    }

    @Basic
    @Column(name = "djl", nullable = true, precision = 8)
    public BigDecimal getDjl() {
        return djl;
    }

    public void setDjl(BigDecimal djl) {
        this.djl = djl;
    }

    @Basic
    @Column(name = "cultivateWay", nullable = true, length = 200)
    public String getCultivateWay() {
        return cultivateWay;
    }

    public void setCultivateWay(String cultivateWay) {
        this.cultivateWay = cultivateWay;
    }

    @Basic
    @Column(name = "xzl", nullable = true, precision = 8)
    public BigDecimal getXzl() {
        return xzl;
    }

    public void setXzl(BigDecimal xzl) {
        this.xzl = xzl;
    }

    @Basic
    @Column(name = "kczt", nullable = true, length = -1)
    public String getKczt() {
        return kczt;
    }

    public void setKczt(String kczt) {
        this.kczt = kczt;
    }

    @Basic
    @Column(name = "LongText1639381733243", nullable = true, length = -1)
    public String getLongText1639381733243() {
        return longText1639381733243;
    }

    public void setLongText1639381733243(String longText1639381733243) {
        this.longText1639381733243 = longText1639381733243;
    }

    @Basic
    @Column(name = "LongText1639381871412", nullable = true, length = -1)
    public String getLongText1639381871412() {
        return longText1639381871412;
    }

    public void setLongText1639381871412(String longText1639381871412) {
        this.longText1639381871412 = longText1639381871412;
    }

    @Basic
    @Column(name = "LongText1639381934038", nullable = true, length = -1)
    public String getLongText1639381934038() {
        return longText1639381934038;
    }

    public void setLongText1639381934038(String longText1639381934038) {
        this.longText1639381934038 = longText1639381934038;
    }

    @Basic
    @Column(name = "LongText1639381938724", nullable = true, length = -1)
    public String getLongText1639381938724() {
        return longText1639381938724;
    }

    public void setLongText1639381938724(String longText1639381938724) {
        this.longText1639381938724 = longText1639381938724;
    }

    @Basic
    @Column(name = "kcbh", nullable = true, length = 200)
    public String getKcbh() {
        return kcbh;
    }

    public void setKcbh(String kcbh) {
        this.kcbh = kcbh;
    }

    @Basic
    @Column(name = "kczkfr", nullable = true, length = -1)
    public String getKczkfr() {
        return kczkfr;
    }

    public void setKczkfr(String kczkfr) {
        this.kczkfr = kczkfr;
    }

    @Basic
    @Column(name = "xmb", nullable = true, length = -1)
    public String getXmb() {
        return xmb;
    }

    public void setXmb(String xmb) {
        this.xmb = xmb;
    }

    @Basic
    @Column(name = "kczkfrgh", nullable = true, length = 200)
    public String getKczkfrgh() {
        return kczkfrgh;
    }

    public void setKczkfrgh(String kczkfrgh) {
        this.kczkfrgh = kczkfrgh;
    }

    @Basic
    @Column(name = "kcsbtz", nullable = true, length = 200)
    public String getKcsbtz() {
        return kcsbtz;
    }

    public void setKcsbtz(String kcsbtz) {
        this.kcsbtz = kcsbtz;
    }

    @Basic
    @Column(name = "szdw", nullable = true, length = -1)
    public String getSzdw() {
        return szdw;
    }

    public void setSzdw(String szdw) {
        this.szdw = szdw;
    }

    @Basic
    @Column(name = "kkffw", nullable = true, length = -1)
    public String getKkffw() {
        return kkffw;
    }

    public void setKkffw(String kkffw) {
        this.kkffw = kkffw;
    }

    @Basic
    @Column(name = "xxrc", nullable = true, precision = 8)
    public BigDecimal getXxrc() {
        return xxrc;
    }

    public void setXxrc(BigDecimal xxrc) {
        this.xxrc = xxrc;
    }

    @Basic
    @Column(name = "dzs", nullable = true, precision = 8)
    public BigDecimal getDzs() {
        return dzs;
    }

    public void setDzs(BigDecimal dzs) {
        this.dzs = dzs;
    }

    @Basic
    @Column(name = "drsfxr", nullable = true)
    public Integer getDrsfxr() {
        return drsfxr;
    }

    public void setDrsfxr(Integer drsfxr) {
        this.drsfxr = drsfxr;
    }

    @Basic
    @Column(name = "sfydz", nullable = true)
    public Integer getSfydz() {
        return sfydz;
    }

    public void setSfydz(Integer sfydz) {
        this.sfydz = sfydz;
    }

    @Basic
    @Column(name = "kczkfrtxt", nullable = true, length = 200)
    public String getKczkfrtxt() {
        return kczkfrtxt;
    }

    public void setKczkfrtxt(String kczkfrtxt) {
        this.kczkfrtxt = kczkfrtxt;
    }

    @Basic
    @Column(name = "sqkcrc", nullable = true, precision = 8)
    public BigDecimal getSqkcrc() {
        return sqkcrc;
    }

    public void setSqkcrc(BigDecimal sqkcrc) {
        this.sqkcrc = sqkcrc;
    }

    @Basic
    @Column(name = "year", nullable = true)
    public Timestamp getYear() {
        return year;
    }

    public void setYear(Timestamp year) {
        this.year = year;
    }

    @Basic
    @Column(name = "previewArea", nullable = true, length = -1)
    public String getPreviewArea() {
        return previewArea;
    }

    public void setPreviewArea(String previewArea) {
        this.previewArea = previewArea;
    }

    @Basic
    @Column(name = "tdcy", nullable = true, length = -1)
    public String getTdcy() {
        return tdcy;
    }

    public void setTdcy(String tdcy) {
        this.tdcy = tdcy;
    }

    @Basic
    @Column(name = "series", nullable = true, length = -1)
    public String getSeries() {
        return series;
    }

    public void setSeries(String series) {
        this.series = series;
    }

    @Basic
    @Column(name = "kcxl", nullable = true, length = -1)
    public String getKcxl() {
        return kcxl;
    }

    public void setKcxl(String kcxl) {
        this.kcxl = kcxl;
    }

    @Basic
    @Column(name = "modality", nullable = true, length = -1)
    public String getModality() {
        return modality;
    }

    public void setModality(String modality) {
        this.modality = modality;
    }

    @Basic
    @Column(name = "psnd", nullable = true, length = -1)
    public String getPsnd() {
        return psnd;
    }

    public void setPsnd(String psnd) {
        this.psnd = psnd;
    }

    @Basic
    @Column(name = "psjb", nullable = true, length = -1)
    public String getPsjb() {
        return psjb;
    }

    public void setPsjb(String psjb) {
        this.psjb = psjb;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        IwrwyKcqdEntity that = (IwrwyKcqdEntity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(name, that.name) &&
                Objects.equals(creater, that.creater) &&
                Objects.equals(createdDeptId, that.createdDeptId) &&
                Objects.equals(owner, that.owner) &&
                Objects.equals(ownerDeptId, that.ownerDeptId) &&
                Objects.equals(createdTime, that.createdTime) &&
                Objects.equals(modifier, that.modifier) &&
                Objects.equals(modifiedTime, that.modifiedTime) &&
                Objects.equals(workflowInstanceId, that.workflowInstanceId) &&
                Objects.equals(sequenceNo, that.sequenceNo) &&
                Objects.equals(sequenceStatus, that.sequenceStatus) &&
                Objects.equals(ownerDeptQueryCode, that.ownerDeptQueryCode) &&
                Objects.equals(version, that.version) &&
                Objects.equals(courseName, that.courseName) &&
                Objects.equals(category, that.category) &&
                Objects.equals(classHour, that.classHour) &&
                Objects.equals(cultivateObj, that.cultivateObj) &&
                Objects.equals(sbr, that.sbr) &&
                Objects.equals(num, that.num) &&
                Objects.equals(sbsj, that.sbsj) &&
                Objects.equals(djl, that.djl) &&
                Objects.equals(cultivateWay, that.cultivateWay) &&
                Objects.equals(xzl, that.xzl) &&
                Objects.equals(kczt, that.kczt) &&
                Objects.equals(longText1639381733243, that.longText1639381733243) &&
                Objects.equals(longText1639381871412, that.longText1639381871412) &&
                Objects.equals(longText1639381934038, that.longText1639381934038) &&
                Objects.equals(longText1639381938724, that.longText1639381938724) &&
                Objects.equals(kcbh, that.kcbh) &&
                Objects.equals(kczkfr, that.kczkfr) &&
                Objects.equals(xmb, that.xmb) &&
                Objects.equals(kczkfrgh, that.kczkfrgh) &&
                Objects.equals(kcsbtz, that.kcsbtz) &&
                Objects.equals(szdw, that.szdw) &&
                Objects.equals(kkffw, that.kkffw) &&
                Objects.equals(xxrc, that.xxrc) &&
                Objects.equals(dzs, that.dzs) &&
                Objects.equals(drsfxr, that.drsfxr) &&
                Objects.equals(sfydz, that.sfydz) &&
                Objects.equals(kczkfrtxt, that.kczkfrtxt) &&
                Objects.equals(sqkcrc, that.sqkcrc) &&
                Objects.equals(year, that.year) &&
                Objects.equals(previewArea, that.previewArea) &&
                Objects.equals(tdcy, that.tdcy) &&
                Objects.equals(series, that.series) &&
                Objects.equals(kcxl, that.kcxl) &&
                Objects.equals(modality, that.modality) &&
                Objects.equals(psnd, that.psnd) &&
                Objects.equals(psjb, that.psjb);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, creater, createdDeptId, owner, ownerDeptId, createdTime, modifier, modifiedTime, workflowInstanceId, sequenceNo, sequenceStatus, ownerDeptQueryCode, version, courseName, category, classHour, cultivateObj, sbr, num, sbsj, djl, cultivateWay, xzl, kczt, longText1639381733243, longText1639381871412, longText1639381934038, longText1639381938724, kcbh, kczkfr, xmb, kczkfrgh, kcsbtz, szdw, kkffw, xxrc, dzs, drsfxr, sfydz, kczkfrtxt, sqkcrc, year, previewArea, tdcy, series, kcxl, modality, psnd, psjb);
    }
}
